package com.qing.springbootinit.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qing.springbootinit.model.dto.chat.ChatQueryRequest;
import com.qing.springbootinit.model.dto.chat.ChatRoomDto;
import com.qing.springbootinit.model.entity.ChatRoom;

import javax.servlet.http.HttpServletRequest;


/**
 * @author <a href="https://github.com/qingfengzy">qingfengzy</a>
* @description 针对表【chatroom(聊天房间表)】的数据库操作Service
* @createDate 2025-04-29 20:50:06
*/
public interface ChatroomService extends IService<ChatRoom> {


    /**
     * 分页获取当前用户聊天房间的所有聊天内容
     * @param request
     * @return
     */
    Page<ChatRoomDto> listCharRoomPage(ChatQueryRequest chatQueryRequest , HttpServletRequest request);

}
